Jump to content


Download file from HTTP request

  • Please log in to reply
2 replies to this topic

#1 codputer

  • Members
  • 4 posts

Posted 13 December 2012 - 12:26 AM

I been asked this question, and I want to make sure SmartFTP can't handle it before I go back to my client. They want to download a file from this HTTP statement.


Note that the begin date is within the URL, can I create a script that will alter this request before issuing it? Part 2 - the CSV file is not quite a CSV file, as it has a title stuffed into the front of it before the "rows" start repeating. Excel opens and reads this file just fine - so all I need to do is automate the download.

I told them I likely will have to write my own request/response program - but if SmartFTP can handle it - let me know!


#2 mb



  • Administrators
  • 11975 posts
  • Gender:
  • Location:

Posted 13 December 2012 - 04:35 AM

You can use the SmartFTP SDK to do this. Take a look at the transfer queue samples:

#3 codputer

  • Members
  • 4 posts

Posted 13 December 2012 - 08:26 PM

I found out that the site also requires a cookie to be set and sent before the requested file is downloaded.

Can all this be scripted queued item, Properties -> Advanced tab?
This means that their is multiple exchanges between the client and the server before the GET request returns the file.

Or do I need to use one of the C# examples, and use the FTP SDK library to make this work?


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users