This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload Files To FTP issue

1 Answer 126 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 06 Jun 2017, 01:04 PM

We are using the RadAsyncUpload control (version 2015.401.40) to upload files to an FTP server using FTPWebRequest.

This works without any problems when running on localhost or even on our development webserver where the FTP is hosted on the same network.

However when we update our live web site which Is hosted on a different network to the FTP the file no longer uploads.

We have watched the process and we can actually see the folder structure being created successfully on the FTP and for a very short time we can even see the file we have uploaded TestFile.pdf with a file size of 0kb (The actual file size is 81kb). After approx. 60 seconds we get the "operation has timed out error" and the TestFile.pdf document disappears from the FTP.

Not sure if this is a permissions issue as the upload inidcator is green and i can see the file inside the TempFolder inside the WebApplication.
Any help on this would be great, we are going round in circles on this one.


1 Answer, 1 is accepted

Sort by
0
Neil
Top achievements
Rank 1
answered on 07 Jun 2017, 10:23 AM

I have changed my code so the AsyncUpload control uploads the files to a staging area on the live web server then some additional code to move from the file from the staging area to the FTP drive, I then have to clean up the staging area once this is complete.

The solution above does work well but I had hoped to avoid the staging area and upload direct to the FTP server, are there some additional permission properties i am missing here or is this just a limitation of the component where by it cannot upload to a drive (FTP) that is not on the same network as the hosted application using this control?

Tags
AsyncUpload
Asked by
Neil
Top achievements
Rank 1
Answers by
Neil
Top achievements
Rank 1
Share this question
or