First PKGBUILD: 'cannot stat' error for source file

I'm attempting my first PKGBUILD and I've run into some trouble.
PKGBUILD:
# Maintainer: Simon Wydooghe <hyperbaton at gmail dot com>
pkgname=vpcs
pkgver=0.21a
pkgrel=1
pkgdesc="Simulates up to 9 computers for ping/traceroute purposes."
arch=('i686' 'x86_64')
url="http://vpcs.sourceforge.net/"
license=('GPL')
makedepends=('p7zip')
source=('${pkgname}_${pkgver}.7z::http://downloads.sourceforge.net/project/${pkgname}/binary/${pkgver}/${pkgname}_${pkgver}.7z')
noextract=('${pkgname}_${pkgver}.7z')
md5sums=('dac71bdf9d04a3b7e69fe25b15f1ee5c')
package() {
local vpcsdir="opt/vpcs"
local binary="vpcs32"
cd "${srcdir}"
mv ${pkgname}_${pkgver}.7z.part ${pkgname}_${pkgver}.7z
7z e -o"${pkgname}-${pkgver}" "${pkgname}_${pkgver}.7z"
cd "${pkgname}-{$pkgver}"
mv startup.vpc readme.txt ${pkgdir}/${vpcsdir}
if [ $CARCH = "x86_64" ]; then
binary="vpcs64"
fi
mv ${binary} ${pkgdir}/${vpcsdir}/vpcs
chmod +x ${pkgdir}/${vpcsdir}/vpcs
Error when running makepkg:
[hb@hb-desktop vpcs]$ makepkg
==> Making package: vpcs 0.21a-1 (Mon Apr 4 15:48:07 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading ${pkgname}_${pkgver}.7z...
--2011-04-04 15:48:07-- http://downloads.sourceforge.net/project/vpcs/binary/0.21a/vpcs_0.21a.7z
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://switch.dl.sourceforge.net/project/vpcs/binary/0.21a/vpcs_0.21a.7z [following]
--2011-04-04 15:48:07-- http://switch.dl.sourceforge.net/project/vpcs/binary/0.21a/vpcs_0.21a.7z
Resolving switch.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21
Connecting to switch.dl.sourceforge.net|130.59.138.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1168714 (1.1M) [application/x-7z-compressed]
Saving to: “vpcs_0.21a.7z.part”
100%[======================================================================================================================================>] 1,168,714 1.10M/s in 1.0s
2011-04-04 15:48:08 (1.10 MB/s) - “vpcs_0.21a.7z.part” saved [1168714/1168714]
mv: cannot stat `/home/hb/abs/vpcs/${pkgname}_${pkgver}.7z.part': No such file or directory
==> ERROR: Failure while downloading ${pkgname}_${pkgver}.7z
Aborting...
So it seems that '.part' is being added to the source filename when being downloaded by makepkg. I added '${pkgname}_${pkgver}.7z::' in front of the source url to rename the file (I believe that's correct, no?).
This is the PKGBUILD directory after running makepkg:
[hb@hb-desktop vpcs]$ ls -l
total 1152
-rw-r--r-- 1 hb hb 884 Apr 4 15:47 PKGBUILD
drwxr-xr-x 2 hb hb 4096 Apr 4 16:01 src
-rw-r--r-- 1 hb hb 1168714 Mar 8 04:18 vpcs_0.21a.7z.part
I can stat the file in question:
[hb@hb-desktop vpcs]$ stat vpcs_0.21a.7z.part
File: `vpcs_0.21a.7z.part'
Size: 1168714 Blocks: 2288 IO Block: 4096 regular file
Device: 805h/2053d Inode: 1046825 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ hb) Gid: ( 1000/ hb)
Access: 2011-04-04 16:01:22.000000000 +0200
Modify: 2011-03-08 04:18:48.000000000 +0100
Change: 2011-04-04 16:01:22.477037824 +0200
Birth: -
So can someone tell me which moronic error I've made this time? :-)

Excellent, thanks, that did the trick!
While I've opened this topic anyway, I have another question. The application in question uses a configuration file which it only looks for in the directory the executable resides in (unless a specific command line argument is given). For this reason, it seems most logical to place the application under /opt. But /opt is not in $PATH by default. What is the best way to add the directory /opt/vpcs to $PATH but to also remove it from $PATH when the application is removed?
Last edited by HyperBaton (2011-04-04 14:33:45)

Similar Messages

  • Error 1311 Source file not found

    Hi.
    I have tried to repair my Adobe Acrobat 9.0 because it's not working. I got Error 1311 source file not found.
    then the following path  c\ProgramFiles(x86)\Adobe\Acrobat9.0\Setup\Files\{AC76BA86-1033-F400-BA7E-000000000004}\D ata1.cab
    Verify that the file still exists and that you can access it.
    What do I do now? I can't open any PDF files from the net.
    Also, I have rec'd the following: Unable to find Adobe PDF resource files.
    C\ProgramData\Adobe\AdobePDF\Settings\*.joboptions  Then it said you must have administrator privileges to install these files. Contact your local administrator. How do I do this? I am the administrator on my home computer!

    Thank you Pat.
    A couple of things...
    First off I am disabled and sometimes a little slow on the uptake.
    Subsequent to my first query, I was successful in downloading the Adobe
    Reader XI. However it only allows me to view PDF's that reside on my
    computer. If however I want to look at any docs on the web or that people
    send me via e-mail I cannot see them They flash  for a moment, like a tease
    and then say there was a catastrophic crash with not much after that.
    If I follow your instructions below, I presume that I will be deleting the
    A R X1 as well and as it was very very difficult to get it is the first
    place, would you be able to help me with a reinstall?
    I think what happened is that my grandson did a "cleanup" on my computer
    and deleted only parts of programs...and thus the part that are missing
    will not allow for the subsequent updates.
    So...thank you for your patience and confirm that I should uninstall and
    using the cleaner and then reinstall using the links you provided?
    Thank you so much!
    Sass
    On Wed, Oct 29, 2014 at 1:40 AM, Pat Willener <[email protected]>

  • TMS Error messgae: Source file could not be opened. Message: FTP Failed

    Can you please help me with this error ?
    I am trying to adjust the import queue on prod system, but I get this error:
    TMS Error messgae: Source file could not be opened. Message: FTP Failed
    SLOG:
    STOP  TRANSMIT BUFFER ENTR SID g 0000 20110720075455              ADMIN        ulvcp743p
    STOP  TRANSMIT BUFFER ENTR SID g 0000 20110720075809              ADMIN        ulvcp743p
    START TRANSMIT BUFFER ENTR SID g      20110720075812              ADMIN        ulvcp743p
    STOP  TRANSMIT BUFFER ENTR SID g 0000 20110720080133              ADMIN        ulvcp743p
    START TRANSMIT BUFFER ENTR SID g      20110720081655              ADMIN        ulvcp743p
    WARNING: /usr/sap/trans/tmp/SID.LOB is already in use (10), I'm waiting 2 sec (20110720081843). My name: pid 28901462 on ulvcp743p (SIDadm)
    WARNING: /usr/sap/trans/tmp/SID.LOB is already in use (20), I'm waiting 1 sec (20110720081918). My name: pid 28901462 on ulvcp743p (SIDadm)
    WARNING: /usr/sap/trans/tmp/SID.LOB is already in use (30), I'm waiting 5 sec (20110720081951). My name: pid 28901462 on ulvcp743p (SIDadm)
    ERROR: RFC function TRINT_PROGRESS_INDICATOR error: SYSTEM_FAILURE
    STOP  TRANSMIT BUFFER ENTR SID g 0000 20110720082014              ADMIN        ulvcp743p
    ERROR: RFC function TRINT_PROGRESS_INDICATOR error: SYSTEM_FAILURE
    ERROR: RFC function TRINT_PROGRESS_INDICATOR returned 18
    ERROR: RFC function TRINT_PROGRESS_INDICATOR returned 18

    Hi ckary,
    Thanks for your post. It looks as if your computer is not seeing the driver
    calls and thus it gives the error saying it cannot complete that task. Does
    this happen with any other example programs you run using DAQmx? What version
    of DAQmx do you have? I would first recommend getting the latest DAQmx driver
    version, 8.7.1. You can find this at the following link below.
    Drivers and Updates
    Please post back if installing the latest driver does not
    fix the problem.
    Corby_B

  • Error 1311, Source file not found, measurementstudio5.cab

    I'm installing Measurement Studio for Visual Studio 6.0 and I encounter: Error 1311 Source file not found, measurementstudio5.cab
    Any ideas?

    Hello David,
    I am also experiencing an Error 1311, but during the install of LabVIEW 2012 and 2013 (64-Bit).  
    Win7 x64, Acer laptop.  
    First problem I encounter is: 
    After putting in my info and agreeing to the licence agreements, the first error pops up says the followign:
    NI LabVIEW Run-Time Engine 2011 SP1: 
    Error 1310.  Error writing to file: Crogram Files (x86)\Internet Explorer\Plugins\LV2011ActiveXcontrol.dll.  Verify that you have access to that directory.  
    Options: Abort/Retry/Ignore
    Things I've tried:
    Retry button--never get's past the error.  
    Uninstalling Internet Explorer and restarting--Still assumes that it's there, and error remains.  
    Reinstalling updated Internet Explorer and restarting -- no change.  
    Checking the directory file and verifying that permissions for every user and System is set to full control -- No change.  
    The only way to get past this error seems to be to press the Ignore button.  
    A few moments after ignoring the first error, another error pops up.  It says: 
    NI Labview Run-Time Engine 2011 SP1: 
    Error 1311.  Source file not found: C:\Users\[my U/N]\Desktop\National Instruments Downloads\LabVIEW 64-bit\2013\Products\LabVIEWruntime_mft.cab.    Verify that the file exists and that you can access it.  
    Options: Retry/Cancel
    Things I've tried: 
    Verifying that the file exists (it does) and that I have access to it (I do) and checking the permissions to verify full control --no changes.  
    Retry -- does nothing.  
    Cacel --aborts the installation and indicates instal failure.  
    Can you help me with this?  I've installed LV on two other computers and they worked fine, but my laptop simply doesn't want to take the install.  
    Thank you in advance, 
    Thomas

  • Cannot read from the source file or disk

    I had to get a new hard drive for my Satellite A665 old one kept freezing up; had a recovey disk from Geek Squad when I got it but they did not work.  So I ordered a Recovery Disc set from Toshiba. 
    A few minutes after I insert the 3nd disc, I get the following message:
    Cannot read from the source file or disk
    PREINST14.SWM
    Type: SWM File
    Size:  670 MB
    Modified: 10/29/2010 11:24pm
    Clicking [Try Again] or [Skip] clicked try again twice. Gave same message so clicked skip. Got another message.
    Cannot read from the source file or disk
    PREINST18.SWM
    Type: SWM File
    Size:  372 MB
    Modified: 10/29/2010 11:24pm
    Clicking [Try Again] or [Skip] clicked try again twice. Gave same message so clicked skip after checking do it for next one. Got error message.
    An error has occurred.
    Error:  10-FC06-0002
    Recovery Error.
    Please press [OK] to turn off the computer.
    I tried erasing the disk, then running the Recovery Wizard again, but wind up in the same place.

    It's hard to know exactly what the problem is. You might want to contact customer support because it could just be a faulty disc.
    - Peter

  • Cp: cannot stat `/DISCARD/': No such file or directory

    I am under process of applying HTTP server patches in our 11i environement, i am getting below error.
    *** Starting rebuild for libraries and executables
    rdbms/lib:ins_rdbms.mk:client_sharedlib,ioracle,utilities
    make -f ins_rdbms.mk client_sharedlib ioracle utilities
    /u01/oracle/ora/iAS/bin/genclntsh
    cp: cannot stat `/DISCARD/': No such file or directory

    Hi,
    cp: cannot stat `/DISCARD/': No such file or directoryThis error can be safely ignored.
    Note: 388254.1 - cp: cannot stat `/DISCARD/': No such file or directory
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=388254.1
    Regards,
    Hussein

  • Error 1308.Source file not found with 9.4.2 Admin Install point

    I'm including as much information in this post as possible to help narrow down my problem, so if it's too wordy I appologize.
    I've created an Admin install point for Acrobat 9 patching it up to Acrobat 9.4.2 using the following commands in a batch file:
    D:
    cd \Adobe\Acrobat\AcrobatPro9
    md \Adobe\Acrobat\AcrobatPro9AIP
    start /wait msiexec /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP /Liv D:\Adobe\Acrobat\AcrobatPro9AIP\install900.log /qn
    cd \Adobe\Acrobat\AcrobatPro9AIP
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcroProStdUpd910_T1T2_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install910.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd912_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install912.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd920_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install920.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd930_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install930.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd932_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install932.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd933_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install933.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd940_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install940.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd941_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install941.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd942_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install942.log /qn
    I rename the folder "AcrobatPro9AIP" to reflect the current version (e.g. "Acrobat9.4.2"), copy the folder to my DFS, create an MST with the Customization Wizard, and then deploy with Group Policy.
    Before I deploy I always run a few test installations on two Windows XP 32-bit machines, and two Windows 7 64-bit workstations. I've been using this method to build my install point for the last 5 Adobe patches without a problem, but suddenly with version 9.4.2 my test workstations pop up with the following error during the installation via the standard installation method "msiexec /i acropro.msi TRANSFORMS=acropro.mst":
    I built my installation package for acrobat9.4.1, 9.4.0 and 9.3.3 exactly the same way and the installations did not have this error. The file in question "Adobe.Acrobat.Dependencies.manifest" does not exist in my 9.4.1, or 9.4.0 package folders, nor does it exist in the 9.4.2 folder. Any suggestions?

    I am having the same problem, all the relevant info was already covered in the "thewaker" post above.   I too have made a script to make a Admin install with patches up to 9.4.2.  The script worked for 9.3.3 but when I remade the AdobeAIP for 9.4.2, I too got this error when installing it, even manually.  (Error 1308.Source file not found.  Adobe.Acrobat.Dependencies.manifest ) Running on Windows 7 32bit.
    Here is my Script.
    C:
    cd\AcroBatPro9
    md \AcrobatPro9AIP
    start /wait msiexec /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP /Liv c:\AcrobatPro9AIP\install900.log /qn
    cd \AcrobatPro9AIP
    start /wait msiexec /p c:\AcrobatPro9\AcroProStdUpd910_T1T2_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install910.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd912_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install912.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd920_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install920.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd930_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install930.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd932_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install932.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd933_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install933.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd940_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install940.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd942_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install942.log /qn
    I did notice though that the "thewaker" has added AcrobatUpd941_all_incr.msp to his script, which is a security update. Which may be "a" problem, but I don’t think this is related to the problem we are having.
    Administrative deployment
    Administration Installation Point (AIP) deployments must not apply a quarterly update AIP in which a security update was the most recently applied update. Because a quarterly update includes the changes implemented in all recent security updates, the quarterly update forcibly bypasses those updates entirely. To deploy a quarterly update from an AIP, create a AIP which includes only quarterly updates as follows:
        Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) ->  9.4.0 (Quarterly) -> 9.4.1 (Security)
        Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.2 (Quarterly)
        Unacceptable:  Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.1 (Security) -> 9.4.2 (Quarterly)
    Anyway.. Any help with this would be helpful as I would like to deploy it soon.
    Thanks.

  • Return The remote server returned an error: (403) Forbidden error for some file types

    hi
    am using below code to get the byte array 
    byte[] myDataBuffer = client.DownloadData((new Uri(sourceUrl)));
    for source of type .txt/.jpg no problem with accessing.but the file type with .master/.wsp/.cs
    it is returning "The remote server returned an error: (403) Forbidden error for some file types" Error.how can i get rid of this.please help me
    Thanks in Advance

    Hi,
    It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
    string account = ConfigurationManager.AppSettings["StorageAccountName"];
    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
    string key = ConfigurationManager.AppSettings["StorageAccountName"];
    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
    return CloudStorageAccount.Parse(connectionString);
    If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
    tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error 1308.Source file not found

    During installation of Desigtime Component of Identity Manager I get an message:
    "Error 1308.Source file not found: C:\Identity Center\DATA_UNITS\IC_DESIGNTIME_71\Setup\program files\SAP\IdM\Identity Center\...\Windows-Change authentication method for RSA Auth Mgr user.dept. Verify that the file exists and that you can access it."
    Then I have option to Retry (which does not work); Ignore or Abort.
    Please help
    Edited by: Junaid Maniya on Dec 31, 2009 8:22 PM

    Hello
    Sounds like you got a corrupt installation file.
    Step 1: Download it again from SAP
    Step 2: Extract with 7-zip

  • Advance select for source file in Sender File Adapter

    Hi
    I am trying to utilise the parameter 'Advance Selection for source file' on a sender file adapter to pick the file from multiple folders
    My problem is that this parameter that is listed on the SAP help is not getting in File accessing Parameters.
    I am running PI 7.02 (NW702_07_Rel)
    Service pack 07
    Has anyone come across this before?
    any suggestions on how to do this?

    Hi,
    In PI7.0 the property exists. I have used it previously. I think SP was 13.
    Regards,
    Nutan
    Edited by: nutan champia on Nov 24, 2011 10:42 AM

  • Advanced selection for source file

    Hi,
    Requirement: One source directory, multiple file names. File needs to be picked up from source directory and send to target directory with same name as source file name.
    Source file name pattern sample: AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm.
    Target file name should be :AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm
    Can we define multiple place holders as :
    Directory    
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt, A35_X.txt, AP5_Y*.txt, AP5_Y*.txt
    When I tried for single place holder, the scenario was working but when I tried adding multiple place holders it was not working.
    How can we achieve the above scenario?
    Thanks,
    Vertika

    Hi Amit,
    Thanks for reply.
    Yes you understood it right.
    I am able to achieve this now. The only change that I did is instead of giving all the placeholders in same line I have given it in different lines and this is working now.
    Sender Adapter Configuration: Checked Advanced selection for source file and used Adapter specific message attributes to keep same file name as source file name.
    File Name Mask
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt
    \\Source
    A35_X*.txt
    \\Source
    AP5_Y*.txt
    \\Source
    A35_Y*.txt
    I am closing this thread now.
    Thanks,
    Vertika

  • Advanced Selection for Source File + SourceFileSize = invalid file size?

    Hi !
    I have a File Adapter using FTP protocol. I've turn on all Adapter-Specific Message Attributes, including SourceFileSize. I've activated the Advanced Selection for Source File, and entered several patterns.
    When I see my payload via the monitor, I get a "-" in the SourceFileSize value.
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">-</sap:Record>
    If I disable the "Advanced Selection for Source File", the file size is ok.
    Is it just me?
    Thanks

    maybe u need to check for some notes

  • File Adapter: Advanced selection for source file

    Hi Experts,
    I am doing file(Idoc format) to IDoc scenario. In my scenario I am getting files in three different formats (ex: abc.dat, xyz.dat, 123.edi). My communication channel (sender file adapter) should poll for every 30 mins, picks up the files and map them to Idoc without any mapping.
    Need following clarifications:
         1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
         2. If there is no mapping how should I proceed in this case?
    Regards,
    Rams

    >>1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
    Not required.. if all the files are from the same directory then u can specify .  in the file name parameter.. but make sure that only these 3 file types are places in the directory... if this is not the case you can use Advannced Selection... check my Wiki [Single Sender File CC For Multiple Directories|https://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories]
    >>2. If there is no mapping how should I proceed in this case?
    Mappiing is required only if the source and the target structure are different.. if u send the file with the IDocc XML format mapping is not required...
    ~SaNv....

  • ERROR 1311: Source File Not Found. Data1.cab

    Hi
    Trying to install upgrade Acrobat Pro XI on Server 2003.  We already have Acrobat Pro 9 installed. 
    Install starts and is halted midway by message "Error 1311: Source File not found.  Data1.cab. Verify that the file exists and that you can access it."
    Heeeelp me please.  Thanks

    See the following help document:
    Errors 1311, 1335, 2350 :
    http://helpx.adobe.com/creative-suite/kb/install-error-1311-1335-or.html

  • [JS][CS3]how to get refrence for source file

    Hi All
    I am new and learning javascript Gradually Could any one help on this as i do have a code for load style but don't know how to get refrence for "source file" and "targetDoc"
    targetDoc.importStyles(charImport, sourceFile, clashPolicy);
    targetDoc.importStyles(paraImport, sourceFile, clashPolicy);
    Can any one figure it out
    Many Thanks

    I'm not sure what you are trying to achieve, could you please elaborate?
    Do you want to load all the styles from one document into all 100 documents, or do you want all the styles from the 100 documents into 1 document or what is the goal?
    The following will let you choose a folder of files, open each of the files in it and import the styles from source document. It is not a complete script, make sure to test and modify before running on anything else than test files :-)
    var MyFolderWithFiles = Folder.selectDialog ("Choose a folder");
    var sourceFile = File.openDialog("Choose the styles source");
    var myFiles = MyFolderWithFiles.getFiles("*.indd");
    for(i = 0; i < myFiles.length; i++) {
        theFile = myFiles[i];
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
        var targetDoc = app.open(theFile, true);
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
        targetDoc.importStyles(ImportFormat.CHARACTER_STYLES_FORMAT, sourceFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
        targetDoc.importStyles(ImportFormat.PARAGRAPH_STYLES_FORMAT, sourceFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
        targetDoc.close(SaveOptions.YES);
    Thomas B. Nielsen
    http://www.lund-co.dk

Maybe you are looking for

  • Why can I not print a pdf document?

    I have Adobe Reader installed on my iMac with Mountain Lion OSX 10.8.2, but cannot print any pdfs.  Why not?

  • Lots of Trouble with a 1st generation MacBook

    Hi everyone, I'm writing for my sister, who's in Thailand having trouble with her MacBook. Hopefully you can help with the information I have. I'm sorry for the long message. About a week ago, her 1st generation MacBook (running Leopard), full off th

  • Usage of tranfer global settings

    Hi, Some of units of measure are not avialable in BI but available in R/3, because of this we are getting erroneous records & then available in error stack. Now i want to use transfer global settings option to get unavialable units. So if  i use tran

  • I want to create a form that i can drop pictures in a certain place

    i want to create a form that i can drop pictures into

  • IPad 2 - Connecting to WiFi with a login service

    Let me start by saying that I did search the forums, but did not find anything. So, if you know of a discussion that covers this topic, please link.  Much obliged for your support. The internet connection in my apartment is setup in such a way that t