Upload Entire Directory Using CFFILE

I need to write an application that will allow the user to
select all the contents of a directory on their local hard drive
(or just point to the directory) and upload all the files in that
directory to a location on a the web server. The user should not
have to point to a file, just select all the contents at once.
Does anyone know how to to so this using CFFILE? We are using
ColdFusion 8.
Thanks in Advance!!

> If not, there must be a away--ColdFusion is such a great
program, and I have
> gotten it to do just about anything we need it to do
except upload multiple
> files files at once to our server...
The files you are uploading are on the client computer.
ColdFusion has
*no* interaction with the client computer at all. All
communications are
between client and WEB SERVER. File uploads are handled by
the client
computer, using the provisions of the HTTP protocol, which -
as implemented
by a web browser - only allows for single files to be
uploaded, via each
file input control on a form.
If you want multiple files to be uploaded from a client
computer using a
single control, you need to use something other than a web
browser (as
suggested by someone else: some manner of applet, perhaps
embedded in an
HTML document).
The applet will pass the data to the web server, and if the
request is for
a mime type that the web server has been configured to pass
to ColdFusion
(usually a CFM or a CFC file), then the web server will pass
the request to
ColdFusion, which will deal with it however you tell it to.
The problem isn't getting the files to CF; it's getting them
to the web
server in the first place. CF's got nothing to do with your
problem (or,
intrinsically, its solution).
Adam

Similar Messages

  • How to upload entire Directory / Multiple Files

    Dear Friends,
    I am trying to design a very user friendly servlet page for uploading multiple files from a PC to Unix server. I need some suggestion on what java library or ftp client to use for this.
    Details:
    There are about 8 files to upload (sized ranging from 200kb to 60MB, The files are a mix of binary and ascii data). I don't want the user to have to click on the browse form button on the webpage 8 times to select the files. In fact all of the files will reside in a directory with a barcode as the name.
    I would like to have the user simply select the directory and submit the form. I will then have a parser that is automatically invoked to parse these files, verify the formats and use the data to populate the next page that is shown to the user for data confirmation.
    The hardest part for me is figuring out what tool to use for the upload section. Any suggestion on what tool (FTP client library, etc.) would be highly appreciated.
    In the forum I found lots of examples for uploading single files but none for uploading entire directory or just multiple files. Am I asking the wrong question? Are there any example out there that I can look?
    I do not favor using a full blown ftp tool on the side because I think it increases the chance for user errors. (miss selecting a file, wrong directory, ascii vs binary).
    Thanks,
    Wayne Chen
    [email protected]

    There are two ways to upload multiple files:
    1. Package them all into a zip file on the client, upload that file, unpackage them on the server.
    2. Upload one file at a time.
    If you're asking about servlets then you can't do number 1 because you can't access the files on the client. And you've said you don't want to have the client upload the files one at a time. From this it follows that you need some logic on the client that can either zip and upload the files, or upload the files one at a time, without requiring user intervention. The Java form of client-side logic from a website is an applet. In this case you would have to sign the applet, since an applet can't access the client's file system without the client's permission.

  • WebUtil - Upload Entire Directory

    Is it possible to upload an entire directory using WebUtil (loading all of the files in the directory into the database? Anyone out there done anything like this?
    Thanks.

    Hello,
    Yes, you can download everything, but one by one.
    Firstly get the list of the directory files:
    http://fdegrelle.over-blog.com/article-4977737.html
    http://fdegrelle.over-blog.com/article-4989094.html
    Then use the Webutil_File_Transfert.Client_To_DB() function to upload each file in your database.
    Francois

  • Copy entire directory using JSCH

    Hi,
    Have someday tried to copy entire directory to remote host using Jcraft's Jsch? Do they support something like scp -rp? I couldn't find it in their example. I guess, I'll have to copy all the files recursively?
    Does anybody know?
    Thanks,

    > If not, there must be a away--ColdFusion is such a great
    program, and I have
    > gotten it to do just about anything we need it to do
    except upload multiple
    > files files at once to our server...
    The files you are uploading are on the client computer.
    ColdFusion has
    *no* interaction with the client computer at all. All
    communications are
    between client and WEB SERVER. File uploads are handled by
    the client
    computer, using the provisions of the HTTP protocol, which -
    as implemented
    by a web browser - only allows for single files to be
    uploaded, via each
    file input control on a form.
    If you want multiple files to be uploaded from a client
    computer using a
    single control, you need to use something other than a web
    browser (as
    suggested by someone else: some manner of applet, perhaps
    embedded in an
    HTML document).
    The applet will pass the data to the web server, and if the
    request is for
    a mime type that the web server has been configured to pass
    to ColdFusion
    (usually a CFM or a CFC file), then the web server will pass
    the request to
    ColdFusion, which will deal with it however you tell it to.
    The problem isn't getting the files to CF; it's getting them
    to the web
    server in the first place. CF's got nothing to do with your
    problem (or,
    intrinsically, its solution).
    Adam

  • Browsing and uploading a directory using jsp/jsf

    Hello to all,
    We can browse an upload a file to the server, but how can we browse the directory and upload it?
    Thanks in advance.

    Remember that at the end of the day, JSP results in an HTML page so you are subject to the same restrictions as a plain ol' HTML page. So the short answer is you can't.
    You can create a (signed) java applet and embed that on the page to possibly do what you want.
    HTH.

  • Creating a directory before using cffile

    I'm having trouble using cffile right before I create a directory. I am using the cffileupload tag and my url attribute is a page that has the following code. Basically the code below creates a new directory and uploads all the images to that directory. However, it fails on the 2nd upload and i get a 500 error in the cffileupload flash object. However, if I hardcode the directory path, they all upload fine. Anyone know why I am having this problem?
    <!--- User will upload all the images to a temp directory based on date and time --->
    <cfset uploadFolderPath = "C:\ColdFusion9\wwwroot\MyApplication\uploads\" />
    <cfset date=DateFormat(Now(),'mm-dd-yyyy_') />
    <cfset time=TimeFormat(Now(),'hh-mm-ss') />
    <cfset newFolderName = "upload_" & date & time />
    <cfset newFolder = uploadFolderPath & newFolderName />
    <cfdirectory action = "create" directory="#newFolder#" />
    <cffile action="uploadall" destination="#newFolder#" nameconflict="makeunique" />

    It seems unlikely to be your problem, but be aware that <cffileupload> calls that URL once for each file uploaded, not just once.  That means the <cfdirectory> could conceivably be called twice within the same second, meaning the second call to it might fail because the dir already exists.
    You should probably check the dir exists before just assuming you're OK to create it.
    Adam

  • How to indicate an entire directory to upload?

    Hi,
    My JSP application must allow that users can indicate an entire directory to upload, not single files. Any suggestion using JSP, AJAX or Javascript?
    For single files it´s easy, I can use <input type="file" ... >
    I can´t ask users to zip the directory and obtain a single file.
    Xks,
    Miguel

    Hi DC
    Sorry for the delay in responding to your question.
    You should be able to do this using a 'Source Distribution' as described below:
     - Right click on 'Build Specifications' and select 'New' - 'Source Distribution'
     - Provide a name
     - Add your files to 'Always included' under 'Source Files'
     - Under 'Destinations' select 'Preserve disk hierarchy' and ensure that 'Directory' is selected as the 'Destination type'
    When building an installer your can then choose to include your source distribution and it will be installed to a location of your choosing.
    Hope this helps.
    Kind Regards
    Chris | Applications Engineer NIUK

  • Firefox won't open following update. Can't open Profile Mgr, even when using entire directory path in cmd line

    I'm running Firefox on a Windows 7 machine. Firefox won't open following the latest update. I've read the help articles and it seems like I need to create a new profile because my settings have likely been corrupted. I'm unable to open Profile Mgr, even when using entire directory path in cmd line. I've tried the following commands in the command line:
    firefox -p
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p
    Nothing happens with either command.
    I'm also running Norton Internet Security. I read a help article Re Virtual Browsing features possibly causing a problem. The article said to check the virtualization setting in the internet security software and to clear the virtual cache. I went thru all of the settings menus in Norton Internet Security version 21.6.0.32 and I didn't see anything that looked like 'virtualization" settings, so I assumed that this doesn't apply to me.
    If you have any ideas, I'd sure appreaciate your expertise!!

    ''arcandl [[#question-1038482|said]]''
    <blockquote>
    I'm running Firefox on a Windows 7 machine. Firefox won't open following the latest update. I've read the help articles and it seems like I need to create a new profile because my settings have likely been corrupted. I'm unable to open Profile Mgr, even when using entire directory path in cmd line. I've tried the following commands in the command line:
    firefox -p
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p
    Nothing happens with either command.
    I'm also running Norton Internet Security. I read a help article Re Virtual Browsing features possibly causing a problem. The article said to check the virtualization setting in the internet security software and to clear the virtual cache. I went thru all of the settings menus in Norton Internet Security version 21.6.0.32 and I didn't see anything that looked like 'virtualization" settings, so I assumed that this doesn't apply to me.
    If you have any ideas, I'd sure appreaciate your expertise!!
    </blockquote>
    ''philipp [[#answer-670108|said]]''
    <blockquote>
    hello arcandl, when firefox isn't launching after you double-click on the shortcut this is sometimes also a sign of malware being active on a system.
    you might want to try running a scan with some different other security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] and [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] which are specialised in removing adware and browser hijackers.
    [[Troubleshoot Firefox issues caused by malware]]
    </blockquote>
    Phillip - You're a genius!!! I ran malwarebytes and it resolved my problem. Thank you so much!!!

  • Uploading documents using CFFile

    I am using CFFile for uploading documents using Cold Fusion 8
    in my Intranet environment. Each record has a limit of 20 documents
    that can be uploaded into MySQL database. It seems if I upload
    mulitple documents at around 1mb it takes less than a minute to
    complete. The problem seems to be when I upload muliptle documents
    that are bigger.
    If I attempt to upload 2 documents each over 25mb it takes
    around 10 minutes.
    Anyone have suggestions on alternatitve way to do this or
    should I just limit size of each upload to 4mb and less?

    Isn't this just a product of your internet speed and the size
    of the upload?

  • Create an entire web page using cffile

    I would like to create an entire web page using cffile..
    it seems that the output attribute is where you put the
    content like:
    output="this is a test."
    Q: so how do you add the full .htm content inside ....
    output=""
    ... where there will be lots of other double quotes?
    (if it involves 'escaping' characters - then I'll need some
    help with that.)
    Also : is it possible that the content could be some data
    combined with an cfinclude - i get errors when i try this...

    Well, I dont think I fully understand your intentions or
    goals are. However, from what I gather so far, you could output the
    data into pdf files. But like I said I dont understand what your
    trying to achieve. As far as the errors with <..etc, if they are
    included and you are trying to produce results those characters
    very well could cause problems when you are trying to do something
    that they were not intended to do.

  • Mutilple file move by using cffile

    Hi Guys,
                I am new to CF I like it, I am trying to move files from a floder in a directory to another folder in another directory, I am able to move one file at a time but I want to move them all at a time, Any suggestions?
    Thanks much.

    Your file upload is still "QUEUED" at the time of this writting.  It is usually better to just include relevant excerpts of code in your posts rather then upload entire files since it can be very time consuming for an outsider to look through potentially large files for a relavant group of lines.
    But you mentioned some key concepts in this post.  One, another file system. Two, d:\ versus c:\.
    First of all, the default windows installation of a ColdFusion server is configured to run under a 'localsystem' user which only has permissions to read and write files on, surpise, the local system.  To do file operations such as <cfdirectory...> and <cffile...> the ColdFusion server windows service must be configured to run as a domain user that has permissions to the desired system.  This is easily done with the Windows services manager to set the "log on as" property of the desired ColdFusion service.
    Secondly, when accessing other serves, the drive names such as "c" and "d" are usually meaning less as these are often user specific mappings that can vary from user to user even users on the same system.  The preferd solution is to use UNC paths.  The usual UNC syntax looks something like <cfdirectory dir="\\serverName\directoryName\fileName"...>

  • Uploading a file using PRC

    I am trying to upload a file using PRC, I am using .Net 2.0. Here is my code
                IRemoteSession rSession = base.portletContext.GetRemotePortalSession();
                IDocumentManager dManager = rSession.GetDocumentManager();
                IRemoteDocument rDocument = dManager.CreateRemoteDocument(4079, 217, Server.MapPath("temp.txt"));
                rDocument.SetType("http://www.plumtree.com/dtm/mime", "text/plain");
                rDocument.SetOverrideName("Trying to upload");
                rDocument.SetOverrideDescription("No Description");
                int docID = -1;
                try
                    docID = rDocument.Save();
                catch (Exception ex)
                    Response.Write(ex);
                Response.Write("<BR><BR>" + docID);
    The code always falis with following errorPlumtree.Remote.PRC.PortalException: Exception of type 'Plumtree.Remote.PRC.PortalException' was thrown. ---> System.Web.Services.Protocols.SoapException: java.rmi.RemoteException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '1001text/plainD:\Plumtree\RemotePortlets\FileContainer\temp.txt', lDocumentTypeID == 104, pCard == com.plumtree.server.impl.directory.PTCard@65e83f, bSummarize == false, pProvider == null): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == text/plain1001D:\Plumtree\RemotePortlets\FileContainer\temp.txt, lDocumentTypeID == 104, pCard == com.plumtree.server.impl.directory.PTCard@65e83f, bSummarize == false, pProvider == null): Error in function SOAPEnvelope.Restore (arrayText == [B@7aa6f0): SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException' at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at com.plumtree.remote.prc.soap.DirectoryAPIService.submitRemoteDocumentMerge(String sLoginToken, Int32 nDataSourceID, Int32[] nFolderIDs, String sLocation, String sTypeID, String sTypeNameSpace, String sOverrideName, String sOverrideDesc, String sLanguage, Boolean bMergeACLs) at com.plumtree.remote.prc.soap.DirectoryProcedures.SubmitRemoteDocument(String sLoginToken, Int32 nDataSourceID, Int32[] nFolderIDs, String sLocation, String sTypeID, String sTypeNameSpace, String sOverrideName, String sOverrideDesc, String sLanguage, Boolean bMergeACLs) --- End of inner exception stack trace --- at Plumtree.Remote.PRC.DocumentWrapper.Save() at Gov.NSW.CCSU.Portal.FileContainer.FileBrowser.cmdUpload_Click(Object sender, EventArgs e) in D:\MyWorks\CCSU\Portal\ALUI\Portlets\FileContainer\FileContainer\FileBrowser.aspx.cs:line 48
    I thought that there might be some problem in getting the file from the client,
    so i used my own uploading routines for copying the
    file in current App's directory,
    even then i get the same error.
    Any help is greatly appreciated!!!
    Thanks,
    Avi
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello Dmitry,
    Thanks a ton for your patience!
    I have already tried step 1, still same error.
    I have already tried step 2 and it works using Portal UI
    Knowledge Directory-> Going to that specific folder - having ID 4079 -> selecting same file from same network share
    Followed Step 3 and the result confirmed that I am using the correct DataSourceID
    Here is the small piece of code
    <Code>
    IRemoteSession rSession = this.portletContext.GetRemotePortalSession();
    IObjectManager oManager = rSession.GetObjectManager(ObjectClass.DataSource);
    IObjectQuery oQuery = oManager.QueryObjects();
    for (int i = 0; i < oQuery.GetRowCount(); i++)
    Response.Write(oQuery.GetRow(i).GetName() + "-" + oQuery.GetRow(i).GetID() + "<BR>");
    </Code>
    Step 4 - We are not using ALI Content Service Windows File. Do you reckon I require this for Upload?
    Step 5 – I ran PT Spy, reproduced the problem but couldn’t find any exception(On the portal server).
    Let me give you a little insight of our dev environment here. Portal Server along with Remote Apps are installed on ServerX and Studio, Content Upload, Collaboration, Publisher are installed on ServerY. To neglect any permission issue I created the network share on ServerY as the Content Upload Service runs on Server Y.
    Running PT Spy on other server (running Content Upload Service) showed few errors but I can not make much sense out of those.
    What I can understand is
    1.     It makes the call to [submitRemoteDocumentMerge] with correct parameters.
    <Parameter List>
    nDataSourceID = 217
    nFolderIDs = (1) { 4079 }
    sLocation = \\ccsu-gmt-952.gnet.ccsu.nsw.gov.au\TempShare\temp.txt
    sTypeID = text/plain
    sTypeNameSpace = http://www.plumtree.com/dtm/mime
    sOverrideName = Trying to upload
    sOverrideDesc = No Description
    sLanguage = (null)
    bMergeACLs = false <ptLogMsgEnd>
    </Parameter List>
    2.     But the call fails with following stack trace (copied partially)
    <Stack Trace>
    com.plumtree.server.impl.webservice.PTWebService     SOAP call failed, an internal error occured on the remote server. Attempting to parse the SOAP fault for detailed error info. Web Service='File Upload Web Service', SOAP Action='urn:plumtree-com:DocumentProvider.AttachToDocument', URL='http://ServerY:11910/ptupload/services/DocumentProvider'
    </Stack Trace>
    3.     Next line shows following Stack Trace
    <Stack Trace>
    com.plumtree.server.impl.soap.SOAPEnvelope     Error in function SOAPEnvelope.Restore (arrayText == [B@7bd8a5): SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException'
    com.plumtree.server.impl.soap.OpenSoapException: SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException'
    </Stack Trace>
    4.     Then it starts giving the same error again.
    5.     I thought it might be expecting a value in Language Parameter, so I Passed US-en but still it screams.
    I can send you the entire trace file if that helps.
    Thanks a lot for helping so far, Plumtree is pretty new to me and I am finding it difficult to get my steps going.
    Thanks,
    Avi
    Edited by asolvent at 03/24/2008 10:05 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Uploading Entire Directories

    Hello All,
    I am looking for a way to upload entire directories to the server. I have various dirs full of pictures (like 25+ for each dir) So I dont want to make the user click <input type="file"> 25+ times.
    What I would really like is have a text field where the user can enter the directory they wish to upload and then hit submit and have all the files be uploaded. Is there any way to do this without using an Applet? Any other solution would be great.
    Thanks in advance for any help,
    Matt

    no, unless you can ask the user to zip the directory first and upload the zip file

  • How can one  read a Excel File and Upload into Table using Pl/SQL Code.

    How can one read a Excel File and Upload into Table using Pl/SQL Code.
    1. Excel File is on My PC.
    2. And I want to write a Stored Procedure or Package to do that.
    3. DataBase is on Other Server. Client-Server Environment.
    4. I am Using Toad or PlSql developer tool.

    If you would like to create a package/procedure in order to solve this problem consider using the UTL_FILE in built package, here are a few steps to get you going:
    1. Get your DBA to create directory object in oracle using the following command:
    create directory TEST_DIR as ‘directory_path’;
    Note: This directory is on the server.
    2. Grant read,write on directory directory_object_name to username;
    You can find out the directory_object_name value from dba_directories view if you are using the system user account.
    3. Logon as the user as mentioned above.
    Sample code read plain text file code, you can modify this code to suit your need (i.e. read a csv file)
    function getData(p_filename in varchar2,
    p_filepath in varchar2
    ) RETURN VARCHAR2 is
    input_file utl_file.file_type;
    --declare a buffer to read text data
    input_buffer varchar2(4000);
    begin
    --using the UTL_FILE in built package
    input_file := utl_file.fopen(p_filepath, p_filename, 'R');
    utl_file.get_line(input_file, input_buffer);
    --debug
    --dbms_output.put_line(input_buffer);
    utl_file.fclose(input_file);
    --return data
    return input_buffer;
    end;
    Hope this helps.

  • Technical Error when uploading a file using java 1.6.0_17

    When I'm uploading a mp3 file size 84.01 Mb i get the following message:
    Warning-Security
    Name:MyFTPUploader
    Publisher:JavaAtWork
    From:http://mixes.djfez.com
    A box is ticked if you always trust the content from this publisher and then there is the option to run or cancel.
    The Message then states that The digital signature was generated with a trusted certificate but has expired.
    I then choose to run the application.
    I then choose the file from my hard drive to upload(a mp3 file 84.01 Mb), select upload and then the file gets to about 5-7% uploaded and then a message appears Technical Error with an x in a 8 sided pink 2D figure.
    Here is what is shown on the Jarva Console:
    Java Plug-in 1.6.0_17
    Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Owner\Downloads
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Reading certificates from 10215 http://mixes.djfez.com/admin/myftpuploader-standard-signed-v131.jar | C:\Users\Owner\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\61\66a2727d-46f2f117.idx
    MyFTPUploader Standard Edition version 1.3.1
    © Copyright JavaAtWork 2005-2008. All rights reserved.
    Reading certificates from 11 http://mixes.djfez.com/admin/labels.jar | C:\Users\Owner\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\27\7b49829b-46cb6a8e.idx
    220 ProFTPD 1.3.0 Server (DreamHost FTP) [66.33.200.61]
    331 Password required for mixes.
    230 User mixes logged in.
    200 Type set to I
    550 uploads/2707/: No such file or directory
    550 uploads/2707/: No such file or directory
    250 CWD command successful
    257 "/uploads/2707" - Directory successfully created
    250 CWD command successful
    257 "/uploads/2707" is current directory.
    227 Entering Passive Mode (66,33,200,61,148,196).
    150 Opening BINARY mode data connection for LittleJohn_Happier_Beats_Vol_1.mp3
    Dec 7, 2009 9:40:45 PM - FTPUploadTask - upload() - java.net.SocketException: Connection reset by peer: socket write error
    Dec 7, 2009 9:40:45 PM - FTPUploadTask - logout() - java.net.SocketException: Connection reset by peer: socket write error
    Operating System is Windows Vista Home
    If anyone could help me overcome this error it would greatly be appreciated.

    If anyone could help me overcome this error it would greatly be appreciated. Java questions here concern programming, not product support.
    Connection reset by peer: socket write errorThat says that the server, where the file comes from, closed the connection.
    The most likely possibilities
    1. The client software is not correctly communicating with the server. Solution: fix the client
    2. The server is not correctly handling this request. Solution: fix the server
    3. The server doesn't want to talk the the client. Solution: fix both the server and the client.
    From the above unless you are in a position to fix something then you do not have an option.
    If you yourself cannot fix either of those then this is a vendor problem and you must contact the vendor (creator) of the software client and/or server. You would do that somewhere besides this site.

Maybe you are looking for

  • How can I change my email address if I can't log in?

    Hi, I have a valid Adobe account and password.  (Not this one - I had to set up a dummy account just to get this far!) When I try to log in, it appears the Account name and password are accepted, but the site says I have to reset my password using in

  • How to read data from a file from a remote area

    Hi, i have a jsp page, now i need to read & write data from the file, When i run my program then i give the file path is: "c://sample.txt" if user access this page from remote area to read & write data then what will be the file path? Is there anyone

  • Stop on 0x0000001E while running platform810b_win32.exe

    While running platform810b_win32.exe on Win2K SP3 a stop on 0x0000001E in ntoskrnl with UNHANDLED_EXCEPTION is raised, the blue screen is displayed and the workstqtion reboots. The blue screen apears after having accepted the licence conditions. Kind

  • How to remove(or Hide) TextArea Border

    how to remove (AWT) TextArea (and TextFiled)'s Border? just like (Swing) jTextArea.setBorder(null);

  • Release Strategy De-Commissiono

    Hi Guru's Please can you give me the best advice on how to de-commission an existing Release Strategy. We have a Release Strategy in place which is not suppose to be effective in the new process orders being created. Since the previous consultant rem